A Practical Method for Quickly Evaluating Program Optimizations

نویسندگان

  • Grigori Fursin
  • Albert Cohen
  • Michael F. P. O'Boyle
  • Olivier Temam
چکیده

This article aims at making iterative optimization practical and usable by speeding up the evaluation of a large range of optimizations. Instead of using a full run to evaluate a single program optimization, we take advantage of periods of stable performance, called phases. For that purpose, we propose a low-overhead phase detection scheme geared toward fast optimization space pruning, using code instrumentation and versioning implemented in a production compiler. Our approach is driven by simplicity and practicality. We show that a simple phase detection scheme can be sufficient for optimization space pruning. We also show it is possible to search for complex optimizations at run-time without resorting to sophisticated dynamic compilation frameworks. Beyond iterative optimization, our approach also enables one to quickly design selftuned applications. Considering 5 representative SpecFP2000 benchmarks, our approach speeds up iterative search for the best program optimizations by a factor of 32 to 962. Phase prediction is 99.4% accurate on average, with an overhead of only 2.6%. The resulting self-tuned implementations bring an average speed-up of 1.4.

برای دانلود رایگان متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Quick and Practical Run-Time Evaluation of Multiple Program Optimizations

This article aims at making iterative optimization practical and usable by speeding up the evaluation of a large range of optimizations. Instead of using a full run to evaluate a single program optimization, we take advantage of periods of stable performance, called phases. For that purpose, we propose a low-overhead phase detection scheme geared toward fast optimization space pruning, using co...

متن کامل

Evaluating Locality Optimizations For Adaptive Irregular Scientific Codes

Irregular scientific codes experience poor cache performance due to their memory access patterns. Researchers have proposed several data and computation transformations to improve locality in irregular scientific codes. We experimentally compare their performance and present GPART, a new technique based on hierarchical clustering. Quality partitions are constructed quickly by clustering multipl...

متن کامل

Computing Large Convex Regions of Obstacle-Free Space Through Semidefinite Programming

This paper presents iris (Iterative Regional Inflation by Semidefinite programming), a new method for quickly computing large polytopic and ellipsoidal regions of obstacle-free space through a series of convex optimizations. These regions can be used, for example, to efficiently optimize an objective over collision-free positions in space for a robot manipulator. The algorithm alternates betwee...

متن کامل

Evaluating Healthy Life Style Education to Adolescents by means of Direct Method, Parents, and Teachers Using CIPP Evaluation Model

Introduction: Detrimental nutritional habits along with inactive life style in children and adolescents are severe threats to the health of this age group at present and future which predispose the society to chronic diseases for the next two decades. The aim of this study was to assess different methods of healthy life style education to adolescents considering the feasibility and applicabilit...

متن کامل

Flexible and Practical Flow Analysis for Higher-Order Programming Languages

A flow analysis is a procedure for computing static information about programs. Such an analysis can infer information about a program even if the program does not terminate when executed. This is done by abstracting over the values computed and the primitives used to manipulate those values. The information inferred is necessarily approximate but can still be used to justify the correctness of...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2005